package global

import (
	"github.com/apache/rocketmq-client-go/v2"
	"github.com/opentracing/opentracing-go"
	"gorm.io/gorm"
	"io"
	"srv_golang/order_srv/config"
	"srv_golang/order_srv/proto"
)

var (
	DB *gorm.DB
	//DB2 *sql.DB
	ServerConfig config.ServerConfig
	NacosConfig  config.NacosConfig
	//RedisRs      *redsync.Redsync

	JaegerTracer opentracing.Tracer
	JaegerCloser io.Closer

	MQPushClient     rocketmq.PushConsumer
	MQSendTranClient rocketmq.TransactionProducer
	MQSendClient     rocketmq.Producer

	GoodsSrvClient     proto.GoodsClient
	InventorySrvClient proto.InventoryClient
)
